import request from '@/utils/request'

// 查询估值方法配置列表
export function listDealValuationSetting(query) {
  return request({
    url: '/valuationSetting/dealValuationSetting/list',
    method: 'get',
    params: query
  })
}

// 查询估值方法配置详细
export function getDealValuationSetting(id) {
  return request({
    url: '/valuationSetting/dealValuationSetting/' + id,
    method: 'get'
  })
}

// 保存估值方法配置
export function saveDealValuationSetting(data) {
  return request({
    url: '/valuationSetting/dealValuationSetting/save',
    method: 'post',
    data: data
  })
}

// 删除估值方法配置
export function delDealValuationSetting(id) {
  return request({
    url: '/valuationSetting/dealValuationSetting/' + id,
    method: 'delete'
  })
}

// 导出估值方法配置
export function delDealValuationSettingStock(id) {
  return request({
    url: '/valuationSetting/dealValuationSetting/stock/' + id,
    method: 'delete'
  })
}
